<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$route['404_override'] = '';
$route['default_controller']    = "default/index/index";
/**
 * 
 * @void Thành viên
 * 
 */
$route['register']              = "default/user/register";
$route['register-mobile']       = "default/user/registermobile";
$route['register-facebook']       = "default/user/registerfacebook";
$route['register-google']       = "default/user/registergoogle";
$route['register-facebook-other']       = "default/user/registerfacebookother";
$route['register-google-other']       = "default/user/registergoogleother";
$route['login-mobile']          = "default/user/loginmobile";
$route['login-facebook']        = "default/user/loginfacebook";
$route['login-google']        = "default/user/logingoogle";
$route['saveinfo']              = "default/user/saveinfo";
//$route['get-info']              = "default/user/info";
$route['get-info']              = "default/user/getInfoUser";
$route['change-pass']           = "default/user/changepass";
$route['forgot-pass']           = "default/user/forgotpass";
$route['verify-account']        = "default/user/verifyaccount";
$route['get-age-group']         = "default/user/getagegroup";
$route['get-job']               = "default/user/getjob";
/**
 * 
 * @void Coupon
 * 
 */
$route['coupon']            = "default/coupon/index";
$route['coupon-detail']     = "default/coupon/detail";
$route['comment']           = "default/coupon/reviewcoupon";
$route['get-comment']       = "default/coupon/getreview";
//$route['get-qrcode'] = "default/coupon/getqrcode";
//Ưu đãi mới nhất
$route['get-new-incentive'] = "default/content/getnewincentive";
//Ưu đãi cố định
$route['get-incentive-fixed'] = "default/content/getincentivefixed";
//Ưu đãi theo tháng
$route['get-incentive-monthly'] = "default/content/getincentivemonthly";
//thực đơn theo nhà hàng
$route['get-restaurant-menus'] = "default/content/getrestaurantmenus";
// get review 1 nhà hàng
$route['get-review-restaurant'] = "default/content/getreviewrestaurant";

// gửi review nhà hàng
$route['submit-review-restaurant'] = "default/content/submitreviewrestaurant";
// get review 1 coupon
$route['get-review-coupon'] = "default/content/getreviewcoupon";
// gửi review coupon
$route['submit-review-coupon'] = "default/content/submitreviewcoupon";
// gửi đặt bàn
$route['submit-booking'] = "default/content/submitbooking";
$route['submit-review-restaurant'] = "default/content/submitreviewrestaurant";
//API Tu
$route['get-label'] = "default/index/getrestaurantlabel";
$route['get-static-data'] = "default/index/getstaticdata";
$route['get-slide-zone'] = "default/index/getslidezone";
$route['get-slide-coupon'] = "default/index/getslidecoupon";
$route['get-slide-restaurant'] = "default/index/getsliderestaurant";
$route['get-all-slide'] = "default/index/getAllSlide";
$route['get-incentive-label'] = "default/content/getincentivelabel";

$route['get-province'] = "default/index/getprovince";
$route['active-user'] = "default/user/activeuser";
$route['get-rating-label'] = "default/content/ratinglabel";
// count downapp
$route['count-downapp'] = "default/content/countdownapp";
// API user nhan Ecoupon
//$route['user-get-ecoupon'] = "default/coupon/usergetecoupon";
$route['get-code-coupon'] = "default/coupon/getcodecoupon";
$route['check-del-coupon-user'] = "default/coupon/checkdelcouponuser";
$route['search-coupon'] = "default/coupon/searchcoupon";
$route['get-coupon'] = "default/coupon/getcoupon";
$route['check-code'] = "default/coupon/checkcodecoupon";
$route['my-coupon'] = "default/coupon/mycoupon";
$route['delete-coupon'] = "default/coupon/deleteCoupon";
// API get restaurant detail for map
$route['get-restaurant-detail'] = "default/index/getrestaurantdetail";
$route['add-like-restaurant'] = "default/index/addlikerestaurant";
$route['get-incentive-detail'] = "default/index/getincentivedetail";

// get địa chỉ ở bản đồ
$route['get-near-restaurant'] = "default/index/getnearrestaurant"; 
$route['hot-restaurant'] = "default/index/hotrestaurant"; 
$route['my-restaurant'] = "default/index/myrestaurant"; 
$route['hot-coupon'] = "default/coupon/hotcoupon"; 
$route['get-info-user'] = "default/user/getinfouser"; 
$route['get-app'] = "default/index/getapp"; 

$route['active-mobile'] = "default/user/activemobile"; 
$route['resend-code']   = "default/user/resendCodeMobile"; 
$route['user-sms']   = "default/user/getUserSms"; 
$route['update-sms']   = "default/user/updateUserSms"; 
$route['reset-sms']   = "default/user/resetSmsPassword"; 
//câu hỏi
$route['question']   = "default/index/getQuestion"; 
$route['term']   = "default/index/getTerm"; 
$route['list-zone']   = "default/index/listZone"; 
//$route['reset-sms']   = "default/index/resetSmsPassword"; 

$route['address-res']   = "default/coupon/addressRes";
$route['address-coupon']   = "default/coupon/addressMycoupon";
$route['up-avatar']   = "default/user/upAvatar"; 
$route['up-avatar-other']   = "default/user/upAvatarOther"; 
$route['get-incent-res']   = "default/content/getIncentiveRes"; 
$route['edit-avatar-other']   = "default/user/editAvatarOther"; 
$route['edit-avatar']   = "default/user/editAvatar"; 
$route['delete-avatar']   = "default/user/deleteAvatar"; 
$route['delete-img']   = "default/index/delImage"; 
//get token
$route['get-token'] = "default/index/gettoken";
$route['saveinfothefirst'] = "default/user/saveinfothefirst";
$route['get-static'] = "default/index/getStatic";
$route['set-app'] = "default/index/setApp";
$route['get-set-app'] = "default/index/getSetApp";
$route['push-single-device'] = "default/index/pushbytoken";

$route['sync-add-coupon'] = "default/index/syncaddcoupon"; 
$route['sync-get-coupon'] = "default/coupon/getCouponWicity";
